.n-inline-block,
.nice-validator input,
.nice-validator select,
.nice-validator textarea,
.msg-wrap,
.n-icon,
.n-msg {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
.nice-validator .msg-container .msg-box {
  display: block;
}
.nice-validator .msg-container .msg-wrap {
  position: static;
}
.msg-box {
  position: absolute;
  left: -2px;
  bottom: -34px;
  z-index: 99;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: left;
  background-color: #fff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, .2);
          box-shadow: 0 3px 7px rgba(0, 0, 0, .2);
}
.no-padding .msg-box {
  left: -3px;
}
.msg-wrap {
  position: relative;
  padding: 6px 12px;
  white-space: nowrap;
}
.msg-box .n-icon,
.msg-box .n-icon:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.msg-box .n-icon {
  top: -9px;
  left: 15px;
  border-width: 9px;
  border-top-width: 0;
  border-bottom-color: #999;
  border-bottom-color: rgba(0, 0, 0, .25);
}
.msg-box .n-icon:after {
  content: "";
  border-width: 8px;
  top: 1px;
  margin-left: -8px;
  border-top-width: 0;
  border-bottom-color: #fff;
}
.form-control.n-invalid{
  border-color: #e83d3b;
}
.has-success .form-control,
.has-success .help-block,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline,
.has-success.radio label,
.has-success.checkbox label,
.has-success.radio-inline label,
.has-success.checkbox-inline label {
  border-color: #2ab43c;
}
.has-warning .form-control,
.has-warning .help-block,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline,
.has-warning.radio label,
.has-warning.checkbox label,
.has-warning.radio-inline label,
.has-warning.checkbox-inline label {
  border-color: #ebb43e;
}
.has-error .form-control,
.has-error .help-block,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
  border-color: #e83d3b;
}